package com.zhanglong;

import org.springframework.context.annotation.DeferredImportSelector;
import org.springframework.core.type.AnnotationMetadata;

public class AutoConfigurationImportSelector implements DeferredImportSelector {
    @Override
    public String[] selectImports(AnnotationMetadata importingClassMetadata) {

        //自动配置类的名字
        return new String[]{"com.zhanglong.WebServerAutoConfiguration"};
    }
}
